from django.urls import path
from . import views

app_name = 'warehouse'
urlpatterns = [
    path('', views.dashboard, name='dashboard'),
    path('api/test/', views.api_test, name='api_test'),
    path('goods/', views.goods_list, name='goods_list'),
    path('goods/create/', views.goods_create, name='goods_create'),
    path('goods/<int:goods_id>/', views.goods_detail, name='goods_detail'),
    path('goods/<int:goods_id>/edit/', views.goods_edit, name='goods_edit'),
    path('inbound/', views.inbound_list, name='inbound_list'),
    path('inbound/create/', views.inbound_create, name='inbound_create'),
    path('outbound/', views.outbound_list, name='outbound_list'),
    path('outbound/create/', views.outbound_create, name='outbound_create'),
    path('inventory/', views.inventory_list, name='inventory_list'),
    path('inventory/create/', views.inventory_create, name='inventory_create'),
    path('wage/', views.wage_list, name='wage_list'),
    path('wage/calculate/', views.wage_calculate, name='wage_calculate'),
]